package edu.pinkhub.shiro_test.entity;		//cn.zy

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.util.Date;
import java.util.List;

import lombok.Data;

/**
 * 
 * 
 * @author zhangsan		//zhangsan
 * @email qis@gmail.com			//qis@gmail.com
 * @date 2022-06-28 14:18:49		//2022-06-27 15:26:04
 */
@Data
@TableName("menus")		//smbms_bill
public class Menus implements Serializable {    //SmbmsBill
	private static final long serialVersionUID = 1L;

	/**
	 * id
	 */
	@TableId(value = "id",type = IdType.AUTO)
    private Integer id;

	@TableField(value = "title")
	private String title;

	@TableField(value = "href")
	private String href;

	@TableField(value = "fontFamily")
	private String fontFamily;

	@TableField(value = "icon")
	private String icon;

	@TableField(value = "spread")
	private String spread;

	@TableField(value = "parentid")
	private Integer parentid;
	@TableField(exist = false)		//当前属性不对应表的列
	private List<Menus> children;

	public List<Menus> getChildren() {
		return children;
	}

	public void setChildren(List<Menus> children) {
		this.children = children;
	}

	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public String getTitle() {
		return title;
	}

	public void setTitle(String title) {
		this.title = title;
	}

	public String getHref() {
		return href;
	}

	public void setHref(String href) {
		this.href = href;
	}

	public String getFontFamily() {
		return fontFamily;
	}

	public void setFontFamily(String fontFamily) {
		this.fontFamily = fontFamily;
	}

	public String getIcon() {
		return icon;
	}

	public void setIcon(String icon) {
		this.icon = icon;
	}

	public String getSpread() {
		return spread;
	}

	public void setSpread(String spread) {
		this.spread = spread;
	}

	public Integer getParentid() {
		return parentid;
	}

	public void setParentid(Integer parentid) {
		this.parentid = parentid;
	}
}
